// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial

export Test3 := Rectangle {
    TabWidget {
//  ^error{Unknown type TabWidget. \(The type exist as an internal type, but cannot be accessed in this scope\)}
    }
}

export Foo := TabWidget { }
//           ^error{Unknown type TabWidget. \(The type exist as an internal type, but cannot be accessed in this scope\)}
